<!DOCTYPE html>
<html>
<head>
    <meta charset="utf‐8">
    <title>Hello World!</title>
</head>
<body>
Hello ${name}!
<br/>
<table>
    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>钱包</td>
        <td>出生日期</td>
    </tr>
    <#list stus as stu>
        <tr>
            <td>${stu_index + 1}</td>
            <td <#if stu.name == '小明'>style="color: red"</#if>>${stu.name}</td>
            <td <#if (stu.age > 10)>style="color: blue"</#if>>${stu.age}</td>
            <td>${stu.money}</td>
            <#if (stu.birthday)??>
                <td>${stu.birthday?string("yyyy年MM月dd日")}</td>
            </#if>
        </tr>
    </#list>
    <hr/>
    <br/>
    <#list stuMap?keys as k>
        <tr>
            <td>${k_index + 1}</td>
            <td>${stuMap[k]["name"]}</td>
            <td>${stuMap[k].age}</td>
            <td >${stuMap[k].money}</td>
        </tr>
    </#list>
</table>
<hr/>
学生个数: ${stus?size}
</body>
</html>